feat(report-anonymization): radiology-report de-identification skill (NeMo Anonymizer) - #44
Closed
medatasci wants to merge 1 commit into
Closed
Conversation
…ill (NeMo Anonymizer)
Collaborator
|
/nvskills-ci |
Author
|
Superseded by #45 (branch on the upstream repo instead of a fork). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
report-anonymization skill
De-identifies English radiology reports by replacing detected PHI with bracketed role tokens (
[PATIENT],[DOCTOR],[DATE], ...) using NeMo Anonymizer (GLiNER-PII detection + LLM validate/augment). Packaged as an agent-callable Medical AI Skill around the upstreamnemo-anonymizerpackage.Contents (
skills/report-anonymization/)SKILL.md,README.md,BENCHMARK.md,skill_manifest.yaml,requirements.txtscripts/anonymize_reports.py— wrapper: Redact strategy with a strict GLiNER label set, per-stage telemetry, and arun_report.json. Opt-in--mode rewriteand--iterative-redaction(novel critic-hinted loop) are off by default.validators/output_schema.json,evals/evals.json,references/,fixtures/data/synthetic_reports_100_w_PHI.csv— 100-case synthetic test set (no real PHI)Results (100 synthetic reports, gpt-5.5 as LLM judge)
anonymizer run, gpt-oss-120b): 85/300 (40-45/100)Quick test (needs
NVIDIA_API_KEY)Notes / feedback wanted